package com.itheima.service;

import com.itheima.common.TokenException;
import com.itheima.vo.TokenVo;

import javax.servlet.http.HttpServletRequest;

/**
 * <h1>刷新token服务层</h1>
 *
 * @author <a href="11n_yd2h5e1jx8@dingtalk.com">叶世铭</a>
 * @since 2023/2/2
 */
public interface RefreshTokenService {

    /**
     * 刷新Token
     *
     * @param request
     * @return
     * @throws TokenException
     */
    TokenVo refreshToken(HttpServletRequest request) throws TokenException;
}
